package com.example.zhuyu.login.module.mvp.contract;

import com.example.zhuyu.basemvp.base.IModel;
import com.example.zhuyu.basemvp.base.IView;
import com.example.zhuyu.basemvp.http.BaseResponse;
import com.example.zhuyu.login.module.mvp.entity.response.LoginResponse;

import java.util.Map;

import io.reactivex.Observable;

/**
 * @author zhuyu
 * @date 2019/2/20
 * @desc
 */
public interface LoginContract {

    interface View extends IView<String>{

    }

    interface Model extends IModel{

         Observable<BaseResponse<LoginResponse>> login(Map<String,String> map);

    }


}
